package com.caval.bean;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Warehouse {
    private int user_id;

    private int game_id;

    private String game_pic;

    private String game_name;

    private String purchase_time;

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getGame_id() {
        return game_id;
    }

    public void setGame_id(int game_id) {
        this.game_id = game_id;
    }

    public String getGame_pic() {
        return game_pic;
    }

    public void setGame_pic(String game_pic) {
        this.game_pic = game_pic;
    }

    public String getGame_name() {
        return game_name;
    }

    public void setGame_name(String game_name) {
        this.game_name = game_name;
    }

    public String getPurchase_time() {
        return purchase_time;
    }

    public void setPurchase_time(Date purchase_time) {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.purchase_time = sdf.format(purchase_time);
    }
}
